package com.yzy.soft.common.persistence.model;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yinzhiyuan
 * @since 2018-03-06
 */
public class Expenseaccount extends Model<Expenseaccount> {

    private static final long serialVersionUID = 1L;

    private String id;
    private String expenseid;
    private String dctype;
    private String accountid;
    private String accountkey;
    private String remark;
    private Date create;
    private Date update;
    private String operator;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getExpenseid() {
        return expenseid;
    }

    public void setExpenseid(String expenseid) {
        this.expenseid = expenseid;
    }

    public String getDctype() {
        return dctype;
    }

    public void setDctype(String dctype) {
        this.dctype = dctype;
    }

    public String getAccountid() {
        return accountid;
    }

    public void setAccountid(String accountid) {
        this.accountid = accountid;
    }

    public String getAccountkey() {
        return accountkey;
    }

    public void setAccountkey(String accountkey) {
        this.accountkey = accountkey;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getCreate() {
        return create;
    }

    public void setCreate(Date create) {
        this.create = create;
    }

    public Date getUpdate() {
        return update;
    }

    public void setUpdate(Date update) {
        this.update = update;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Expenseaccount{" +
        ", id=" + id +
        ", expenseid=" + expenseid +
        ", dctype=" + dctype +
        ", accountid=" + accountid +
        ", accountkey=" + accountkey +
        ", remark=" + remark +
        ", create=" + create +
        ", update=" + update +
        ", operator=" + operator +
        "}";
    }
}
